from django.conf.urls import url
from user import api

urlpatterns = [
    # 发送短信
    url(r'^sms/', api.sms),

    # 用户登录
    url(r'^login/', api.login),

    # 当前登录用户的交友资料
    url(r'^user/profile/', api.ProfileView.as_view()),

    # 上传头像
    url(r'^user/avatar/', api.avatar)

]